Help topics | Getting Started | Advanced Info | FAQ

Introduction
As you already might know, jv16 PowerTools supports very powerful scripts. One way to use these scripts is a feature called Application Events. It means that you can configure jv16 PowerTools to execute your script every time you e.g. start the program or close the registry tool.

You can use Application Events by creating a script (.jvb) file to \Scripts directory with a special name. You can see the filenames from the following table.

Supported Events
Name: Application Start
Executed: When the jv16 PowerTools starts
File: App_Init.jvb

Name: Application Termination
Executed: When the jv16 PowerTools is terminated
File: App_Term.jvb

Name: OnShow
Executed: When the specific tool is opened
File: FormName_OnShow.jvb
Example: FileToolForm_OnShow.jvb

Name: OnHide
Executed: When the specific tool is closed
File: FormName_OnHide.jvb
Example: FileToolForm_OnHide.jvb

Note: If you wish to use the tool specific Application Events you must know the tool's form name. You can see the list of currently visible forms with the GetVisibleForms console command. Just start the tool which form name you need to know and execute the command.

Also note: The application termination and starting events support multiple event scripts. For example, if you have App_Init.jvb, App_Init0.jvb and App_Init1.jvb (and so on, up to 100) they will all be ran when the program starts.
.:: Copyright 2000-2003 Macecraft Software